import StyleSheetTracer;
import LuminicBox.Log.Logger;
import LuminicBox.Log.ConsolePublisher

class Pruebas {

	static var app : Pruebas;

	function Pruebas() {
		// creates a 'tf' TextField size 800x600 at pos 0,0
		_root.createTextField("tf",0,0,0,800,600);
		// write some text into it
		_root.tf.text = "Hello world !";
		StyleSheetTracer.displayFromURL("style.css")
		trace("ju")
	}

	// entry point
	static function main(mc) {
		app = new Pruebas();
	}
	public static var logger:Logger;
	
	public static function tracer(msg:String){
		if(logger == null){
			logger = new Logger();
			logger.addPublisher(new ConsolePublisher());
		}
		logger.log(msg)
	}
}